<div id="field_edit_div" class="app-toolbar-content"
     data-id="<?php if (isset($userFieldId)) echo $userFieldId; else echo '-1' ?>">
    <?php require("{$CfgPara->root}/view/web/tittle_back_bar.web.v.php"); ?>
    <div class="am-form" style="margin: 10px 15px;">
        <div class="am-form-group am-form-icon am-form-feedback">
            <label for="user_field_name" class="am-form-label app-main-color">名称</label>
            <input class="am-form-field" type="text" id="user_field_name" placeholder="请输入代表类名"
                   value="<?php if (isset($userFieldName)) echo $userFieldName; ?>">
            <span class="am-icon-edit"></span>
        </div>

        <div class="am-form-group am-form-icon am-form-feedback">
            <label for="user_field_introd" class="am-form-label app-main-color">简介</label>
            <input class="am-form-field" type="text" id="user_field_introd" placeholder="请输入代表类简介"
                   value="<?php if (isset($userFieldIntrod)) echo $userFieldIntrod; ?>">
            <span class="am-icon-edit"></span>
        </div>
    </div>
    <?php
    require("{$viewRoot}user_field_manage_bar{$viewEx}");
    $InputData['list_type'] = work_m::ListUserFieldForOrder;
    if (isset($userField)) {
        $InputData['user_field_id'] = $userField->Id;
    }
    require("{$CfgPara->root}/controller/works_list.c.php");
    ?>
</div>
<div id="field_edit_toolbar" style="margin:5px 15px;">
    <?php if (isset($userFieldName)) { //删除按钮在新建本领时不显示  ?>
        <a style="margin-left: 10px;" class="am-btn am-btn-warning am-fr" role="button"
           onclick="user_field_dele()">删除</a>
    <?php } ?>
    <a style="margin-left: 10px;" class="am-btn am-btn-default am-fr" role="button" onclick="act_back()">取消</a>
    <a class="am-btn am-btn-primary am-fr" role="button" onclick="user_field_save()">确定</a>
</div>
